<!DOCTYPE html>
<html>
<head>
<title>Color Tests</title>
<script type="text/javascript" src="../../../../build/yui/yui.js"></script>
<style>
.color {
    border: 1px solid rgba(0,0,0,0.5);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 12px;
    height: 12px;
    vertical-align: top;
    margin: 0 0.3em;
}
#output dl {
    height: 50px;
    overflow: hidden;
}
#output:focus dl {
    height: auto;
}
</style>

</head>

<body class="yui3-skin-sam">
<h1>Color Tests</h1>
<div id="output" tabindex="1"><dl></dl></div>

<div id="log"></div>

<script type="text/javascript">
YUI({
    filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'raw',
    combine: false,
    modules: {
        'color-harmony-tests': {
            fullpath: './assets/color-harmony-tests.js',
            requires: [ 'test', 'dump', 'color-harmony' ]
        }
    }
}).use("test-console", "color-harmony-tests", function(Y) {

    (new Y.Test.Console()).render('#log');

    Y.Test.Runner.run();

});
</script>
</body>
</html>
